﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZBJF.Warranty.Model.ViewModel.Sellers
{
    public class SellerInsuranceProductsAvailableInfo
    {
        /// <summary>
        /// 可承保价格范围
        /// </summary>
        public AvailablePrice AvailablePrice { get; set; }
        /// <summary>
        /// 品牌信息
        /// </summary>
        public List<BrandInfo> AvailableBrands { get; set; }
        /// <summary>
        /// 可承保屏幕类型
        /// </summary>
        public List<ScreenTypeInfo> AvailableScreenType { get; set; }
    }

    public class BrandInfo
    {
        /// <summary>
        /// 品牌ID
        /// </summary>
        public long BrandId { get; set; }
        /// <summary>
        /// 品牌名称
        /// </summary>
        public string BrandName { get; set; }
        /// <summary>
        /// 型号信息
        /// </summary>
        public List<ModelInfo> AvailableModels { get; set; }

    }
    public class ModelInfo
    {
        /// <summary>
        /// 型号ID
        /// </summary>
        public long ModelId { get; set; }
        /// <summary>
        /// 型号名称
        /// </summary>
        public string ModelName { get; set; }
    }

    public class ScreenTypeInfo {
        public byte ScreenTypeCode { get; set; }
        public string ScreenTypeName { get; set; }
    }

    public class AvailablePrice
    {
        /// <summary>
        /// 可承保开始价
        /// </summary>
        public string AvailablePriceStart { get; set; }
        /// <summary>
        /// 可承保结束价
        /// </summary>
        public string AvailablePriceEnd { get; set; }

    }
}
